package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品详情对象 prod_detail
 * 
 * @author sztg
 * @date 2023-07-20
 */
public class Detail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String productDescribe;

    /** 总数量 */
    @Excel(name = "总数量")
    private Long allCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductDescribe(String productDescribe) 
    {
        this.productDescribe = productDescribe;
    }

    public String getProductDescribe() 
    {
        return productDescribe;
    }
    public void setAllCount(Long allCount) 
    {
        this.allCount = allCount;
    }

    public Long getAllCount() 
    {
        return allCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productDescribe", getProductDescribe())
            .append("allCount", getAllCount())
            .toString();
    }
}
